package com.example.bailin.giftsay.hot;

import android.content.Intent;
import android.webkit.WebView;

import com.example.bailin.giftsay.R;
import com.example.bailin.giftsay.baseclass.BaseFragment;
import com.example.bailin.giftsay.entity.HotEntity;

/**
 * Created by bailin on 16/8/30.
 */
public class HotXQFragment extends BaseFragment {
    private WebView webView;
    @Override
    protected int setLayout() {
        return R.layout.activity_webview;
    }

    @Override
    protected void initView() {
        webView = bindView(R.id.webview_id);
    }

    @Override
    protected void initData() {
        Intent intent = getActivity().getIntent();
        String url = intent.getStringExtra("webUrl");
        webView.loadUrl(url);
    }
}
